import { Controller, Get, Query, Logger } from '@nestjs/common';

@Controller('article')
export class ArticleController {

    @Get()
    index(@Query() query): string {
        Logger.log("ArticleController query="+query)
        console.log("query===", query)
        return "这是article里面的index";
    }


    @Get('add')
    add(): string {
        return '这是article里面的Add';
    }
}